package com.alili.springbooteditor.repository;

import com.alili.springbooteditor.entities.comments;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

public interface CommentsRepository extends JpaRepository<comments,Integer> {
    void deleteAllByEditorId(Integer id);

}
